package com.panda.apiopen.provider;

import java.util.concurrent.CompletableFuture;

/**
 * @Author pansd
 * @Date 2025-08-05 8:55
 * @Des
 */
public interface DemoService {

    String sayHello(String name);

    String sayHello2(String name);

    default CompletableFuture<String> sayHelloAsync(String name) {
        return CompletableFuture.completedFuture(sayHello(name));
    }

}
